package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.api.domain.Product;
import com.spzx.product.api.domain.vo.ProductVo;

import java.util.List;

public interface ProductService extends IService<Product> {

    List<Product> getProductList(Product product);

    ProductVo getProductById(Long id);

    boolean saveOrUpdateProduct(ProductVo productVo);

    boolean deleteProductByIds(Long id);

    boolean updateProductStatus(Long id, Integer status);
}
